package com.aisoar.magicsoar.storage.struct;

import com.aisoar.magicsoar.storage.entity.Playbook;
import com.aisoar.magicsoar.storage.dto.PlaybookDTO;
import com.aisoar.magicsoar.storage.param.PlaybookParam;
import com.aisoar.magicsoar.storage.vo.PlaybookVO;
import org.mapstruct.Mapper;

/**
 * 剧本数据表(Playbook)实体转换
 *
 * @author makejava
 * @since 2025-07-01 11:54:52
 */
@Mapper(componentModel = "spring")
public interface PlaybookStruct {

    PlaybookDTO entityToDto(Playbook param);

    PlaybookVO entityToVo(Playbook param);

    Playbook paramToEntity(PlaybookParam param);

    PlaybookDTO paramToDto(PlaybookParam param);

    Playbook dtoToEntity(PlaybookDTO param);

    PlaybookVO dtoToVo(PlaybookDTO param);

}
